from enum import Enum

CONF_NAME = "Category.conf"

ENCODING = "utf8"
SEPARATOR = ","
INNER_SEPARATOR = "|" # Separator for category and event

class Type(Enum):
    Purchase = 1
    Transfer = 2
    Refund = 3

class Owner(Enum):
    Joan = 1
    Ed = 2
    Ollie = 3
    
class PayMethod(Enum):
    Credit = 1
    Cash = 2
    Alipay = 3
    Wechat = 4
    Other = 100

class Category(Enum):
    Diet = 1
    Dress = 2
    Traffic = 3
    Living = 4
    Communication = 6
    Pet = 7
    Entertainment = 8
    Sports = 9
    Travel = 10
    Education = 11
    Healthy = 12
    Sociality = 13
    Reside = 17
    Other = 100

class Currency(Enum):
    CNY = 1

class ParserType(Enum):
    ZFB = 0
    WX = 1
    ZS = 2
